<template>
  <div class="thank">
    <div class="img">
      <img src="../assets/images/logo.png" alt>
    </div>
    <div class="text" @click="clear">感谢您的反馈！</div>
  </div>
</template>
<script>
import Utils from "@/assets/js/utils";
export default {
  data() {
    return {
      count: 0
    };
  },
  mounted() {
    Utils.disabledBack();
    document.body.style = "100%";
  },
  methods: {
    clear() {
      this.count++;
      console.log(this.count);
      if (this.count > 2) {
        localStorage.clear("survey-storage");
        // this.$router.push("/");
        location.href = "/MP-Survey/index.html";
        // location.href = "/chanel/MP-Survey/index.html";
      }
    }
  }
};
</script>

<style lang="stylus" scoped>
.thank {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.img {
  width: 71px;
  margin-bottom: 24px;
}

.text {
  font-size: 18px;
  line-height: 18px;
  // font-family: 'PingFangM';
  position: relative;
  right: -5px;
}
</style>


